﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Promise" targetNamespace="http://tempuri.org/Promise.xsd" xmlns:mstns="http://tempuri.org/Promise.xsd" xmlns="http://tempuri.org/Promise.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="AGNIS_FORMSConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AGNIS_FORMSConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AutoCrid.Properties.Settings.GlobalReference.Default.AGNIS_FORMSConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TEST_MEDAB_ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TEST_MEDAB_ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AutoCrid.Properties.Settings.GlobalReference.Default.TEST_MEDAB_ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NewCridsTableAdapter" GeneratorDataComponentClassName="NewCridsTableAdapter" Name="NewCrids" UserDataComponentName="NewCridsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TEST_MEDAB_ConnectionString (Settings)" DbObjectName="TEST_MEDAB_.dbo.NewCrids" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [NewCrids] ([ID], [IDAA], [CIBMTRCO], [CRID], [Date], [Transmitted]) VALUES (@ID, @IDAA, @CIBMTRCO, @CRID, @Date, @Transmitted)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IDAA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IDAA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CIBMTRCO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CIBMTRCO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CRID" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="CRID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Transmitted" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Transmitted" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        NewCrids.*
FROM            NewCrids</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="IDAA" DataSetColumn="IDAA" />
              <Mapping SourceColumn="CIBMTRCO" DataSetColumn="CIBMTRCO" />
              <Mapping SourceColumn="CRID" DataSetColumn="CRID" />
              <Mapping SourceColumn="Date" DataSetColumn="Date" />
              <Mapping SourceColumn="Transmitted" DataSetColumn="Transmitted" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="TEST_MEDAB_ConnectionString (Settings)" DbObjectName="TEST_MEDAB_.dbo.NewCrids" DbObjectType="Table" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="UpdateQuery" Modifier="Public" Name="UpdateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateQuery">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE       NewCrids
SET                CRID = Parameter3
WHERE        (ID = Parameter1) AND (IDAA = Parameter2)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE       NewCrids
SET                CRID = 0, IDAA =
WHERE        (ID = 8001) AND (IDAA = 1229)</CommandText>
                    <Parameters />
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Promise" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="Promise" msprop:Generator_UserDSName="Promise" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="NewCrids" msprop:Generator_UserTableName="NewCrids" msprop:Generator_RowDeletedName="NewCridsRowDeleted" msprop:Generator_TableClassName="NewCridsDataTable" msprop:Generator_RowChangedName="NewCridsRowChanged" msprop:Generator_RowClassName="NewCridsRow" msprop:Generator_RowChangingName="NewCridsRowChanging" msprop:Generator_RowEvArgName="NewCridsRowChangeEvent" msprop:Generator_RowEvHandlerName="NewCridsRowChangeEventHandler" msprop:Generator_TablePropName="NewCrids" msprop:Generator_TableVarName="tableNewCrids" msprop:Generator_RowDeletingName="NewCridsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="IDAA" msprop:Generator_UserColumnName="IDAA" msprop:Generator_ColumnPropNameInRow="IDAA" msprop:Generator_ColumnVarNameInTable="columnIDAA" msprop:Generator_ColumnPropNameInTable="IDAAColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CIBMTRCO" msprop:Generator_UserColumnName="CIBMTRCO" msprop:Generator_ColumnPropNameInRow="CIBMTRCO" msprop:Generator_ColumnVarNameInTable="columnCIBMTRCO" msprop:Generator_ColumnPropNameInTable="CIBMTRCOColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CRID" msprop:Generator_UserColumnName="CRID" msprop:Generator_ColumnPropNameInRow="CRID" msprop:Generator_ColumnVarNameInTable="columnCRID" msprop:Generator_ColumnPropNameInTable="CRIDColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Date" msprop:Generator_UserColumnName="Date" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInTable="DateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Transmitted" msprop:Generator_UserColumnName="Transmitted" msprop:Generator_ColumnPropNameInRow="Transmitted" msprop:Generator_ColumnVarNameInTable="columnTransmitted" msprop:Generator_ColumnPropNameInTable="TransmittedColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>